﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Text;



namespace BLL
{
    public interface IOperateDBRepository
    {
        List<BLL.Authority> GetAuthority();


        Role GetRoleById(int roleId);


        object GetStatus(int role_temp);

        object GetRoleName(int role_temp);


        List<BLL.RoleAuthority> GetAuthorityid(int role_temp);

        void GetUpdateRoleName(string TextBox, int role_temp);

        int GetNewStatusid();

        void UpdateStatusId(int new_StatusidSelect, int role_temp);

        void DeleteAuthorityId(int role_temp);

        void InsertRoleAuthority(string str, int role_temp);


        int GetNewStatusid1();

        void InsertRoleAuthority(int StatusId_Select, string TextBox);

        object GetRoleId(string TextBox1);

        String SelectRoleIdInput(string TextBox_input);


        void UpdateRole(Role role);

        void InsertRole(Role role);
    }
}
